<@realgodo.html loc="">
<div class="co_m bod">
 	<div class="zt_detail">
		<div class=" vd_head"> 
			<div class="vd_img"><a href="#" hidefocus ><img src="${(secret.space.user.head.fullPath)!'${base}/images/pp.jpg'}" /></a></div>
			<div class="vd_p">
				<p class="vd_font "><a href="#" hidefocus class="vd_weight mainColor" >${(secret.space.user.name)!}</a><span  class="vd_font vd_color9">发起的秘密</span></p>
				<p class="vd_font vd_weight vd_color9 vd_no">V${(secret.space.user.name)!}<img src="${base}/images/bg.jpg"  /></p>
			</div>
			<div class="vd_clear"></div>
		</div>
		<hr />
		<div class="da_top font13 vd_weight txtright vd_color9" style="margin-right:20px" >参与人：${(secret.joiners)!}</div>
		<div class="vd_boxti vd_center">
			${(secret.space.user.name)!}的秘密:<br />
			<span class="mainColor">${(secret.title)!}</span>
		</div>
		<div class="answer" >
			<div class="l txtright" style="width:75px">答案：</div><Div class="r vd_center bodred" style="width:400px"><img src="${base}/images/wen.jpg" /></div>
		</div>
		<div class="vd_answer bodx">
			<p>你只有对TA说出自己的秘密后，才可以查看! </p>
			<p class="p_top mainColor" >(如果你说假话,天黑后...或者各种闪电劈!) </p>
			
			<div class="p_top"> 
				<form name="joinForm" id="joinForm" action="${base}/user/secret/index!saveJoiner" method="post">
				<textarea name="answer" id="answer"></textarea>&nbsp;
				<input type="button" value="说出秘密" class="bgff font13 vd_color6 vd_weight" style="padding:5px 15px" onclick="saveJoiner()"/>
				<input type="hidden" value="${(secret.id?c)!}" name="id"/>
				</form>
			</div>
		</div>
	</div>
</div>
<script>
	function saveJoiner(){
		var answer=document.getElementById("answer").value;
		if(answer==null||answer==""){
			alert("请说出自己的秘密");
			return;
		}
		document.getElementById("joinForm").submit();
	}
</script>
</@realgodo.html>